<?php if(count($latest_news)): ?>
                                <div style="position: relative; padding-bottom:20px; height: 220px;">
                                    <ul class="newslist">
                                          <?php foreach($latest_news as $key=>$item): ?>                                        
                                          <li><a href="<?php echo $html->url('/details/').$key ?>"><?php echo $text->excerpt($item,'',40) ?> <span>বিস্তারিত</span></a></li>
                                          <?php endforeach; ?>                                        
                                    </ul>
                                    <a href="<?php echo $html->url('/news/latest') ?>" class=" details moredetails"  title="click to view all latest news">সকল  সংবাদ </a>
                                </div>
                                <?php endif; ?>